\hypertarget{struct_gumbo_attribute}{}\section{Gumbo\+Attribute Struct Reference}
\label{struct_gumbo_attribute}\index{Gumbo\+Attribute@{Gumbo\+Attribute}}


{\ttfamily \#include $<$gumbo.\+h$>$}

\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{gumbo_8h_a030699170924efadb11b8e43a8681852}{Gumbo\+Attribute\+Namespace\+Enum}} \mbox{\hyperlink{struct_gumbo_attribute_a8393cdc691835a7aa3ffb8179969d8bf}{attr\+\_\+namespace}}
\item 
const char $\ast$ \mbox{\hyperlink{struct_gumbo_attribute_acafedb3e0f96b0fc51ea656ff949f05b}{name}}
\item 
\mbox{\hyperlink{struct_gumbo_string_piece}{Gumbo\+String\+Piece}} \mbox{\hyperlink{struct_gumbo_attribute_a6f535bba33535c0401bce8bc5459ffb3}{original\+\_\+name}}
\item 
const char $\ast$ \mbox{\hyperlink{struct_gumbo_attribute_ae4c9dc6fcd5614d17595e43f2a90da13}{value}}
\item 
\mbox{\hyperlink{struct_gumbo_string_piece}{Gumbo\+String\+Piece}} \mbox{\hyperlink{struct_gumbo_attribute_a578fc88b2b00d6468fb5445f71e11cda}{original\+\_\+value}}
\item 
\mbox{\hyperlink{struct_gumbo_source_position}{Gumbo\+Source\+Position}} \mbox{\hyperlink{struct_gumbo_attribute_a14f25692d8f8ad48560cbb27d0e792fc}{name\+\_\+start}}
\item 
\mbox{\hyperlink{struct_gumbo_source_position}{Gumbo\+Source\+Position}} \mbox{\hyperlink{struct_gumbo_attribute_a1cdfab1070ba0b3c584317a4d2cb8a0b}{name\+\_\+end}}
\item 
\mbox{\hyperlink{struct_gumbo_source_position}{Gumbo\+Source\+Position}} \mbox{\hyperlink{struct_gumbo_attribute_a8ee577ccb724a649538adce8bff17c86}{value\+\_\+start}}
\item 
\mbox{\hyperlink{struct_gumbo_source_position}{Gumbo\+Source\+Position}} \mbox{\hyperlink{struct_gumbo_attribute_a5b1fa5fb25a8bd65dc02f8a282a5c73e}{value\+\_\+end}}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
A struct representing a single attribute on an H\+T\+ML tag. This is a name-\/value pair, but also includes information about source locations and original source text. 

\subsection{Member Data Documentation}
\mbox{\Hypertarget{struct_gumbo_attribute_a8393cdc691835a7aa3ffb8179969d8bf}\label{struct_gumbo_attribute_a8393cdc691835a7aa3ffb8179969d8bf}} 
\index{Gumbo\+Attribute@{Gumbo\+Attribute}!attr\+\_\+namespace@{attr\+\_\+namespace}}
\index{attr\+\_\+namespace@{attr\+\_\+namespace}!Gumbo\+Attribute@{Gumbo\+Attribute}}
\subsubsection{\texorpdfstring{attr\+\_\+namespace}{attr\_namespace}}
{\footnotesize\ttfamily \mbox{\hyperlink{gumbo_8h_a030699170924efadb11b8e43a8681852}{Gumbo\+Attribute\+Namespace\+Enum}} Gumbo\+Attribute\+::attr\+\_\+namespace}

The namespace for the attribute. This will usually be G\+U\+M\+B\+O\+\_\+\+A\+T\+T\+R\+\_\+\+N\+A\+M\+E\+S\+P\+A\+C\+E\+\_\+\+N\+O\+NE, but some X\+Link/\+X\+M\+L\+N\+S/\+X\+ML attributes take special values, per\+: \href{http://www.whatwg.org/specs/web-apps/current-work/multipage/tree-construction.html#adjust-foreign-attributes}{\tt http\+://www.\+whatwg.\+org/specs/web-\/apps/current-\/work/multipage/tree-\/construction.\+html\#adjust-\/foreign-\/attributes} \mbox{\Hypertarget{struct_gumbo_attribute_acafedb3e0f96b0fc51ea656ff949f05b}\label{struct_gumbo_attribute_acafedb3e0f96b0fc51ea656ff949f05b}} 
\index{Gumbo\+Attribute@{Gumbo\+Attribute}!name@{name}}
\index{name@{name}!Gumbo\+Attribute@{Gumbo\+Attribute}}
\subsubsection{\texorpdfstring{name}{name}}
{\footnotesize\ttfamily const char$\ast$ Gumbo\+Attribute\+::name}

The name of the attribute. This is in a freshly-\/allocated buffer to deal with case-\/normalization, and is null-\/terminated. \mbox{\Hypertarget{struct_gumbo_attribute_a1cdfab1070ba0b3c584317a4d2cb8a0b}\label{struct_gumbo_attribute_a1cdfab1070ba0b3c584317a4d2cb8a0b}} 
\index{Gumbo\+Attribute@{Gumbo\+Attribute}!name\+\_\+end@{name\+\_\+end}}
\index{name\+\_\+end@{name\+\_\+end}!Gumbo\+Attribute@{Gumbo\+Attribute}}
\subsubsection{\texorpdfstring{name\+\_\+end}{name\_end}}
{\footnotesize\ttfamily \mbox{\hyperlink{struct_gumbo_source_position}{Gumbo\+Source\+Position}} Gumbo\+Attribute\+::name\+\_\+end}

The ending position of the attribute name. This is not always derivable from the starting position of the value because of the possibility of whitespace around the = sign. \mbox{\Hypertarget{struct_gumbo_attribute_a14f25692d8f8ad48560cbb27d0e792fc}\label{struct_gumbo_attribute_a14f25692d8f8ad48560cbb27d0e792fc}} 
\index{Gumbo\+Attribute@{Gumbo\+Attribute}!name\+\_\+start@{name\+\_\+start}}
\index{name\+\_\+start@{name\+\_\+start}!Gumbo\+Attribute@{Gumbo\+Attribute}}
\subsubsection{\texorpdfstring{name\+\_\+start}{name\_start}}
{\footnotesize\ttfamily \mbox{\hyperlink{struct_gumbo_source_position}{Gumbo\+Source\+Position}} Gumbo\+Attribute\+::name\+\_\+start}

The starting position of the attribute name. \mbox{\Hypertarget{struct_gumbo_attribute_a6f535bba33535c0401bce8bc5459ffb3}\label{struct_gumbo_attribute_a6f535bba33535c0401bce8bc5459ffb3}} 
\index{Gumbo\+Attribute@{Gumbo\+Attribute}!original\+\_\+name@{original\+\_\+name}}
\index{original\+\_\+name@{original\+\_\+name}!Gumbo\+Attribute@{Gumbo\+Attribute}}
\subsubsection{\texorpdfstring{original\+\_\+name}{original\_name}}
{\footnotesize\ttfamily \mbox{\hyperlink{struct_gumbo_string_piece}{Gumbo\+String\+Piece}} Gumbo\+Attribute\+::original\+\_\+name}

The original text of the attribute name, as a pointer into the original source buffer. \mbox{\Hypertarget{struct_gumbo_attribute_a578fc88b2b00d6468fb5445f71e11cda}\label{struct_gumbo_attribute_a578fc88b2b00d6468fb5445f71e11cda}} 
\index{Gumbo\+Attribute@{Gumbo\+Attribute}!original\+\_\+value@{original\+\_\+value}}
\index{original\+\_\+value@{original\+\_\+value}!Gumbo\+Attribute@{Gumbo\+Attribute}}
\subsubsection{\texorpdfstring{original\+\_\+value}{original\_value}}
{\footnotesize\ttfamily \mbox{\hyperlink{struct_gumbo_string_piece}{Gumbo\+String\+Piece}} Gumbo\+Attribute\+::original\+\_\+value}

The original text of the value of the attribute. This points into the original source buffer. It includes any quotes that surround the attribute, and you can look at original\+\_\+value.\+data\mbox{[}0\mbox{]} and original\+\_\+value.\+data\mbox{[}original\+\_\+value.\+length -\/ 1\mbox{]} to determine what the quote characters were. If the attribute has no value, this will be a 0-\/length string. \mbox{\Hypertarget{struct_gumbo_attribute_ae4c9dc6fcd5614d17595e43f2a90da13}\label{struct_gumbo_attribute_ae4c9dc6fcd5614d17595e43f2a90da13}} 
\index{Gumbo\+Attribute@{Gumbo\+Attribute}!value@{value}}
\index{value@{value}!Gumbo\+Attribute@{Gumbo\+Attribute}}
\subsubsection{\texorpdfstring{value}{value}}
{\footnotesize\ttfamily const char$\ast$ Gumbo\+Attribute\+::value}

The value of the attribute. This is in a freshly-\/allocated buffer to deal with unescaping, and is null-\/terminated. It does not include any quotes that surround the attribute. If the attribute has no value (for example, \textquotesingle{}selected\textquotesingle{} on a checkbox), this will be an empty string. \mbox{\Hypertarget{struct_gumbo_attribute_a5b1fa5fb25a8bd65dc02f8a282a5c73e}\label{struct_gumbo_attribute_a5b1fa5fb25a8bd65dc02f8a282a5c73e}} 
\index{Gumbo\+Attribute@{Gumbo\+Attribute}!value\+\_\+end@{value\+\_\+end}}
\index{value\+\_\+end@{value\+\_\+end}!Gumbo\+Attribute@{Gumbo\+Attribute}}
\subsubsection{\texorpdfstring{value\+\_\+end}{value\_end}}
{\footnotesize\ttfamily \mbox{\hyperlink{struct_gumbo_source_position}{Gumbo\+Source\+Position}} Gumbo\+Attribute\+::value\+\_\+end}

The ending position of the attribute value. \mbox{\Hypertarget{struct_gumbo_attribute_a8ee577ccb724a649538adce8bff17c86}\label{struct_gumbo_attribute_a8ee577ccb724a649538adce8bff17c86}} 
\index{Gumbo\+Attribute@{Gumbo\+Attribute}!value\+\_\+start@{value\+\_\+start}}
\index{value\+\_\+start@{value\+\_\+start}!Gumbo\+Attribute@{Gumbo\+Attribute}}
\subsubsection{\texorpdfstring{value\+\_\+start}{value\_start}}
{\footnotesize\ttfamily \mbox{\hyperlink{struct_gumbo_source_position}{Gumbo\+Source\+Position}} Gumbo\+Attribute\+::value\+\_\+start}

The starting position of the attribute value. 

The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/network/gumbo/parser/src/\mbox{\hyperlink{gumbo_8h}{gumbo.\+h}}\end{DoxyCompactItemize}
